package one.stand.fallback;

import com.jmp.base.dto.*;
import com.jmp.feign.CompanyFeign;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;

/**
 * @author cjr
 */
@Component
public class CompanyFallback implements CompanyFeign {
    @Override
    public ResultModel<CompanyAuditInfoResponse> auditInfo(CompanyAuditInfoRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel levelUpdate(CompanyLevelUpdateRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel edit(CompanyEditRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel quit(CompanyQuitRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel transfer(CompanyTransferRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel dissolution(CompanyDissolutionRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel cardUpdate(CompanyCardUpdateRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<CompanyCardResponse> card(CompanyCardRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<CompanyCardResponse> cardId(CompanyCardIdRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<CompanySuncodeResponse> suncode(CompanySuncodeRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel contentAdd(CompanyContentAddRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel contentRemove(CompanyContentAddRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel contentPush(CompanyContentAddRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel serviceAdd(CompanyServiceAddRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel licenseUpdate(CompanyLicenseUpdateRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel licenseAudit(CompanyLicenseAuditRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<CompanyLicenseInfoResponse> licenseInfo(CompanyLicenseInfoRequest request) {
        return ResultModel.faultTolerant();
    }
}
